<html>
    <head>
        <link rel="stylesheet" href="/static/css/normal.css" type="text/css" media="screen" title="no title" charset="utf-8">
        <title>{{datestring}}</title>
    </head>
    <body>
        <h1 id="" style="text-align: center;">{{datestring}}</h1>
        <div id="links">
            <span style="text-align: left;">
                <a href="/log/">Log</a>
                <a href="/stats/">Stats</a>
            </span>
            <span style="display: block; position: relative; right: 0px; text-align: right;">
                <a href="{{ csv }}">CSV</a>
                <a href="{{ json }}">json</a>
                <a href="{{ this_month }}">This Month</a>
                {% if prev_week %}
                <a href="{{ prev_week }}">Previous Week</a>
                {% endif %}
                {% if this_week %}
                <a href="{{ this_week }}">This Week</a>
                {% endif %}
                {% if next_week %}
                <a href="{{ next_week }}">Next Week</a>
		{% endif %}
		<a href="/stats/">Eric</a>
            </span>
        </div>
        <div id="name">
            {% for log in logs %}
            <div class="category">{{ log.name }}: {{ log.count }}</div>
            {% endfor %}
        </div>
        <div style="width: 300px; margin: 10px auto;">
            <img src="{{ chart }}">
        </div>
    </body>
</html>
